//
//  ZHomeHeaderMoedel.m
//  DoctorFAQs
//
//  Created by zjq on 17/3/20.
//  Copyright © 2017年 zjq. All rights reserved.
//

#import "ZHomeHeaderMoedel.h"

@implementation ZHomeHeaderMoedel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}//防止多余 key
- (instancetype)initWithDict:(NSDictionary *)dict {
    self = [super init];
    if (self) {
//        self.qid = dict[@"id"];
        
        self.adID = dict[@"id"];
        self.cover = dict[@"cover"];
        self.type = dict[@"type"];
//        if ([self.type intValue]==1) {
//            self.url = dict
//        }
        self.url = dict[@"url"];
    }
    return self;
}



@end
